package com.hxl.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hxl.entity.CmfzBanner;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * InnoDB free: 10240 kB 服务类
 * </p>
 *
 * @author hxl
 * @since 2020-08-18
 */
public interface CmfzBannerService extends IService<CmfzBanner> {
    //分页查询
    Page<CmfzBanner> selectBanner(Integer page,Integer limit);
    //根据根据id删除
    void deleteById(Integer id);
    //添加图片
    void addBanner(CmfzBanner banner);
    //修改图片信息
    void updateBanner(CmfzBanner banner);
}
